<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<div class="t_bar">项目申报单位</div>
<x:set var="org" select="$xmlData/data/organizations/organization[@submit_org=1]"/>
<table class="t_css" width="100%" border="0" cellpadding="0" id="attentInfo" cellspacing="1">	
	<tr>
		<td align="right">单位名称：</td>
		<td colspan="3">
			<input type="hidden" name="organizations/organization[00]@seq_no" value="1" />
			<input type="hidden" name="organizations/organization[00]@submit_org" value="1" />
			<input type="hidden" name="organizations/organization[0]/org_code" value="<x:out select="$org/org_code"/>" >
			
			<span name="organizations/organization[0]/org_name">
				<x:out select="$org/org_name"/>
			</span>
		</td>
	</tr>
	<tr>
		<td align="right" width="150px">单位负责人：</td>
		<td width="300px">
			<input type="hidden" name="organization_persons/organization_person[0]@psn_type" value="fuzeren">
			<span name="organization_persons/organization_person[0]/cname">
				<x:out select="$xmlData/data/organization_persons/unit_name" />
			</span>
		</td>
		<td align="right" width="100px">单位性质：</td>
		<td>
			<span name="organizations/organization[0]/nature_name">
				<x:out select="$org/nature_name"/>
			</span>
			<input type="hidden" name="organizations/organization[0]/nature_value" value="<x:out select="$org/nature_value"/>" />
		</td>

	</tr>
	<tr>
		<td align="right">归口部门：</td>
		<td>
			<input type="text" class="input_css maxlength:30" maxlength="30" 
			name="proposal/department" style="width:200px;" 
			value="<x:out select="$xmlData/data/proposal/department" />">
		</td>
		<td align="right">邮政编码：</td>
		<td>
			<span name="organizations/organization[0]/zip_code">
				<x:out select="$org/zip_code"/>
			</span>
		</td>
	</tr>
	<tr>
		<td align="right">联系电话：</td>
		<td>
			<span name="organizations/organization[0]/org_tel">
				<x:out select="$org/org_tel"/>
			</span>
		</td>
		<td align="right">传真号码：</td>
		<td>
			<span name="organizations/organization[0]/fax">
				<x:out select="$org/fax"/>
			</span>
		</td>
	</tr>
	<tr>
		<td align="right">通讯地址：</td>
		<td colspan="3">
			<span name="organizations/organization[0]/address">
				<x:out select="$org/address"/>
			</span>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>项目依托研究基地：</td>
		<td colspan="3">
			<label style="margin-right:100px;"><input type="checkbox" name="research_base" value="01" label="国家实验室" class="do">国家实验室</label>
			<label style="margin-right:60px;"><input type="checkbox" name="research_base" value="02" label="国家重点实验室 " class="do">国家重点实验室 </label>
			<label><input type="checkbox" name="research_base" value="03" label="国际科技合作基地" class="do">国际科技合作基地 </label>
			<br>
			<label style="margin-right:40px;"><input type="checkbox" name="research_base" value="04" label="国家工程技术研究中心" class="do">国家工程技术研究中心 </label>
			<label><input type="checkbox" name="research_base" value="05" label="国家级企业技术中心" class="do">国家级企业技术中心 </label>
			<br>
			<label style="margin-right:28px;"><input type="checkbox" name="research_base" value="06" label="部门开放（重点）实验室" class="do">部门开放（重点）实验室 </label>
			<label><input type="checkbox" name="research_base" value="07" label="教育部985工程创新基地" class="do">教育部985工程创新基地</label>
			<br>
			<label style="margin-right:52px;"><input type="checkbox" name="research_base" value="08" label="教育部重点学科基地" class="do">教育部重点学科基地</label>
			<label><input type="checkbox" name="research_base" value="09" label="其他" class="do">其他 </label>
			
			<input type="hidden" name="proposal/research_base_value" label="项目依托研究基地" class="required" value="<x:out select="$xmlData/data/proposal/research_base_value" />" />
			<input type="hidden" name="proposal/research_base_name"  value="<x:out select="$xmlData/data/proposal/research_base_name" />" />
		</td>
	</tr>
</table>
<br>

<div class="t_bar">
	项目负责人<span style="font-size: 12px;font-weight: normal;">（如果您需要修改申请人信息， 请保存申请书后点击菜单“管理”>“个人信息维护”完成修改）</span>
</div>

<x:set var="psn" select="$xmlData/data/zh_persons/zh_person[@submit_psn=1]"/>
<table id="zh_persons" border="0" cellspacing="0" cellpadding="0" class="t_css" width="100%">
	<tr>
		<td align="right" width="120px">姓名：</td>
		<td>
			<span name="zh_persons/zh_person[00]/basic_info/zh_name"><x:out select="$psn/basic_info/zh_name" /></span>
			
			<input type="hidden" name="zh_persons/zh_person[00]@seq_no" value="1">
			<input type="hidden" name="zh_persons/zh_person[00]@submit_psn" value="1">
			<input type="hidden" name="zh_persons/zh_person[00]/basic_info/psn_code" value="<x:out select="$psn/basic_info/psn_code" />">
		</td>
		<td align="right" width="120px">性别：</td>
		<td>
			<c:set var="gender_value"><x:out select="$psn/basic_info/gender_value" /></c:set>
			<input type="hidden" name="zh_persons/zh_person[00]/basic_info/gender_value" value="${gender_value}">
			<c:choose>
				<c:when test="${gender_value=='M'}">男
					<input type="hidden" name="zh_persons/zh_person[00]/basic_info/gender_name" value="男">
				</c:when>
				<c:when test="${gender_value=='F'}">女
					<input type="hidden" name="zh_persons/zh_person[00]/basic_info/gender_name" value="女">
				</c:when>
			</c:choose>
		</td>
		<td align="right" width="120px">证件类型：</td>
		<td>
			<span name="zh_persons/zh_person[00]/basic_info/card_type_name"><x:out select="$psn/basic_info/card_type_name" /></span>
		</td>
		<td align="right">证件号码：</td>
		<td>
			<span name="zh_persons/zh_person[00]/basic_info/card_code"><x:out select="$psn/basic_info/card_code" /></span>
		</td>
	</tr>
	
	<tr>
	
		<td align="right">行政职务：</td>
		<td>
			<span name="zh_persons/zh_person[00]/basic_info/position"><x:out select="$psn/basic_info/position" /></span>
		</td>
		<td align="right">职称：</td>
		<td>
			<span name="zh_persons/zh_person[00]/basic_info/prof_title_name"><x:out select="$psn/basic_info/prof_title_name" /></span>
		</td>
		<td align="right">学位：</td>
		<td>
			<span name="zh_persons/zh_person[00]/basic_info/degree_name"><x:out select="$psn/basic_info/degree_name" /></span>
		</td>
		<td align="right">学历：</td>
		<td>
			<span name="zh_persons/zh_person[00]/basic_info/educate_name"><x:out select="$psn/basic_info/educate_name" /></span>
		</td>
	</tr>
	<tr>
		<td align="right">出生日期：</td>
		<td>
			<span name="zh_persons/zh_person[00]/basic_info/birthday"><x:out select="$psn/basic_info/birthday" /></span>
		</td>
		<td align="right">电话：</td>
		<td>
			<span name="zh_persons/zh_person[00]/contact/tel_work"><x:out select="$psn/contact/tel_work" /></span>
		</td>
		<td align="right">传真：</td>
		<td>
			<span name="zh_persons/zh_person[00]/contact/fax"><x:out select="$psn/contact/fax" /></span>
		</td>
		<td align="right">手机：</td>
		<td>
			<span name="zh_persons/zh_person[00]/contact/mobile"><x:out select="$psn/contact/mobile" /></span>
		</td>
	</tr>
	<tr>
		<td align="right">Email：</td>
		<td colspan="7">
			<span name="zh_persons/zh_person[00]/contact/email"><x:out select="$psn/contact/email" /></span>
		</td>
	</tr>
</table>
<br>

<div class="t_bar">合作外方</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="hzwfInfo" cellspacing="1">	
	<tr>
		<td align="right"><span class="color_red">*</span>机构名称（中文）：</td>
		<td colspan="3">
			<input type="text" label="机构名称（中文）" class="input_css required maxlength:50" required maxlength="50"  name="cooperation/org_name"  style="width:750px;" value="<x:out select="$xmlData/data/cooperation/org_name"/>">
		</td>
	</tr>
	<tr>
		<td align="right" width="150px"><span class="color_red">*</span>外方负责人（中文）：</td>
		<td width="300px">
			<input type="text" label="外方负责人（中文）" class="input_css required maxlength:30" required maxlength="30"  name="cooperation/psn_name"  style="width:200px;" value="<x:out select="$xmlData/data/cooperation/psn_name"/>">
		</td>
		<td align="right" width="100px"><span class="color_red">*</span>职称：</td>
		<td>
		    <c:set var="prof_title_value"><x:out select="$xmlData/data/cooperation/prof_title_value" /></c:set>
		    <c:set var="prof_title_name"><x:out select="$xmlData/data/cooperation/prof_title_name" /></c:set>
		    
			<cpt:select id="prof_title" key="title" onChange="initControlValue(this.id)" value="${prof_title_value}" className="required" label="职称"></cpt:select>
			<input type="hidden" name="cooperation/prof_title_value" value="${prof_title_value}" />
			<input type="hidden" name="cooperation/prof_title_name" value="${prof_title_name}" />
		</td>
	</tr>
	
	<tr>
		<td align="right">外方项目序号：</td>
		<td colspan="3">
			<input type="text" label="外方项目序号" class="input_css maxlength:50" maxlength="300"  name="cooperation/project_no"  style="width:200px;" value="<x:out select="$xmlData/data/cooperation/project_no"/>">（如系中外联合申报/资助计划的项目，请填写此处）
		</td>
	</tr>
	
	<tr>
		<td align="right"><span class="color_red">*</span>联系电话：</td>
		<td>
			<input type="text" label="联系电话" class="input_css required maxlength:30" required maxlength="30"  name="cooperation/contact/tel"  style="width:200px;" value="<x:out select="$xmlData/data/cooperation/contact/tel"/>">
		</td>
		<td align="right"><span class="color_red">*</span>传真号码：</td>
		<td>
			<input type="text" label="传真号码" class="input_css required maxlength:30" required maxlength="30"  name="cooperation/contact/fax"  style="width:200px;" value="<x:out select="$xmlData/data/cooperation/contact/fax"/>">
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>Email：</td>
		<td colspan="3">
		<input type="text" label="合作外方的Email" class="input_css required email maxlength:50" required maxlength="50"  name="cooperation/contact/email"  style="width:200px;" value="<x:out select="$xmlData/data/cooperation/contact/email"/>">
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>通讯地址：</td>
		<td colspan="3">
			<input type="text" label="通讯地址" class="input_css required maxlength:100" required maxlength="100"  name="cooperation/contact/address"  style="width:750px;" value="<x:out select="$xmlData/data/cooperation/contact/address"/>">
		</td>
	</tr>
</table>
